﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightGolf.Game
{
    public abstract class HoleState
    {
    }

    public class NotReady : HoleState
    {

    }

    public class ShotInProgess : HoleState
    {
        public PlayersBall PlayersBall { get; set; }
    }

    public class ReadyForShot : HoleState
    {
        public PlayersBall PlayersBall { get; set; }
    }

    public class HoleStateEventArgs : EventArgs
    {
        public Hole Hole { get; private set; }
        public HoleState State { get; private set; }

        public HoleStateEventArgs(Hole hole, HoleState state)
        {
            Hole = hole;
            State = state;
        }
    }
}
